Repository navigation
fix(ci): keep upsert-issue self-tests offline - #333
Conversation
Code Coverage OverviewLanguages: Go, C# Go / code-coverage/testThe overall line coverage in commit 5d3d491 in the C# / code-coverage/dotnetThe overall line coverage in commit 5d3d491 in the Updated |
Validation for source head
Current-head hosted evaluation: offline behavior job 110021326393 completed successfully with contents-read permission. Its log confirms all 26 behavior cases, all 19 boundary mutations and the actual composite-action invocation with exact caller outputs. A subsequent read of #248 still shows The full current-head CI run 36754204972 completed successfully on attempt 1, and Local review: checked all five changed files, the permission and credential boundary, exact argument/output assertions, synthetic CLI isolation, and the required-check dependency/result wiring. No actionable finding remains. The consumer action's implementation and interface are unchanged; #259 remains open for the other catalogue CI families. |
✅MegaLinter analysis: Success
See detailed reports in MegaLinter artifacts Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining
|
✅MegaLinter analysis: Success
See detailed reports in MegaLinter artifacts Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining
|
@coderabbitai full review |
✅ Action performedFull review finished. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (5)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details🧰 Additional context used🪛 ast-grep (0.45.3).github/tests/test-upsert-issue-reopen.sh[warning] 109-109: A credential-bearing variable (e.g. PASSWORD, PASSWD, SECRET, TOKEN, API_KEY) is assigned a hardcoded string literal. Secrets committed to a script are exposed in source control, process listings, and shell history, and cannot be rotated without a code change. Read the value from a secrets manager or an injected environment variable at runtime instead (e.g. (hardcoded-password-assignment-bash) 🪛 Checkov (3.3.17).github/workflows/ci.yaml[low] 2543-2544: Base64 High Entropy String (CKV_SECRET_6) 🔇 Additional comments (4)
📝 WalkthroughWalkthroughThe change adds offline tests for the Priority: ➖ Normal Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The change replaces live issue tests with offline behavior and smoke checks included in required CI. No actionable defect remains; merge after normal required checks pass. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change reduces CI authority and removes live tracker mutations while preserving workflow-level failure propagation. No introduced security concern was established. Remaining uncertainty concerns repository-level required-check enforcement and live API authorization, which offline checks do not verify. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 3 files. (2 skipped: 2 unsupported.)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Resolution of the ancillary warnings in CodeRabbit's review summary, at
No source change is required for these warnings. Restarting the ordered provider loop after this same-head refutation. CodeRabbit's per-PR summary states that this review used its included allowance and zero included reviews remain. The follow-up review will use the available included Codex lane. |
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Readiness for
Promoting the draft on these three readiness conditions and proceeding with the exact-head merge preflight. #259 remains open for its other real child issues. |
Delivered in v2.5.4. PR #333 merged the reviewed source head
#332 is closed and verified. #259 remains open for the TODO, auto-merge and final catalogue audit children. The TODO follow-up's implementation refinement records the distinct wrapper, hosted-permission and genuine scanner proof boundaries. Only this session's exact-head review reservation was retired, with removal read back successfully. |

Why
Catalogue tests currently create and close a shared live issue, so routine CI runs change the tracker and can interfere with each other.
What
Run those issue lifecycle tests offline with read-only access, including the hosted action smoke test. Preserve the existing coverage and expand checks for issue contents, outputs and failures; guard against restoring live credentials or bypassing required CI. This delivers the issue-test portion of the broader catalogue cleanup.
Fixes #332
Part of #259